Skip to main content

borderPixel

Type

property

Summary

Specifies which entry in the color table is used for the color of an object's border.

Syntax

set the borderPixel of <object> to <colorNumber>

Description

Use the borderPixel property to change the border color of an object when the bit depth of the screen is 8 bits (256 colors) or less.

The borderPixel property specifies which entry in the color table is used for an object's border color. It is similar to the borderColor property, but is specified as an entry in the current color table, rather than as a color reference.

The color table can be set by changing the colorMap property.

Examples

set the borderPixel of group 1 to 200

glossary: property, bit depth, bit, color reference, color table, object

keyword: integer

property: bottomPixel, focusPixel, pixels, backgroundPixel, foregroundPixel, hilitePixel, shadowPixel, colorMap, borderColor, topPixel

function: screenColors

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?